function isPalindrome(s) {
    s = s.replace(/[^\w]/g, "").toLowerCase();
    let leftPointer = 0;
    let rightPointer = s.length - 1;
    while (leftPointer < rightPointer) {
        if (s[leftPointer++] === s[rightPointer--]) {
            continue
        } else {
            return false //【main】
        }
    }
    return true
}
